const { log } = require('console');
const http=require('http')
const app=http.createServer()
app.on('request',(req,res)=>{
    res.end('<h1>Hello Wrold!</h1>')
    console.log(req.method);
})
app.listen(3000,()=>{
    console.log('running...')
})